package com.ningxia.water.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author hz
 * @since 2021-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(value = { "handler" })
@Accessors(chain = true)
public class TsDayData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 机井id
     */
    private Integer wellId;

    /**
     * 日用量
     */
    private Double dayData;

    /**
     * 日期时间
     */
    private String time;

    public TsDayData() {
    }

    public TsDayData(Integer wellId, Double dayData, String time) {
        this.wellId = wellId;
        this.dayData = dayData;
        this.time = time;
    }
}
